package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-业务-MTN Channel-oam对象 element_busi_mtn_channel_oam
 *
 * @author spn
 * @date 2025-02-10
 */
public class ElementBusiMtnChannelOam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 路径类型（1=工作 2=保护 3=备用） */
    @Excel(name = "路径类型", readConverterExp = "1==工作,2==保护,3==备用")
    @ApiModelProperty(value = "路径类型")
    private String protectType;

    /** mtn_channel业务ID */
    @Excel(name = "mtn_channel业务ID")
    @ApiModelProperty(value = "mtn_channel业务ID")
    private String mtnChannelId;

    /** 源网元id */
    @Excel(name = "源网元id")
    @ApiModelProperty(value = "源网元id")
    private String elementId;

    /** 节点类型 */
    @Excel(name = "节点类型")
    @ApiModelProperty(value = "节点类型")
    private String nodeType;

    /** BAS使能 */
    @Excel(name = "BAS使能")
    @ApiModelProperty(value = "BAS使能")
    private String baseEnable;

    /** BAS周期 */
    @Excel(name = "BAS周期")
    @ApiModelProperty(value = "BAS周期")
    private String basePeriod;

    /** APS使能 */
    @Excel(name = "APS使能")
    @ApiModelProperty(value = "APS使能")
    private String aspEnable;

    /** CVSAPI */
    @Excel(name = "CVSAPI")
    @ApiModelProperty(value = "CVSAPI")
    private String cvsApi;

    /** CVDAPI */
    @Excel(name = "CVDAPI")
    @ApiModelProperty(value = "CVDAPI")
    private String cvdApi;

    /** CV使能 */
    @Excel(name = "CV使能")
    @ApiModelProperty(value = "CV使能")
    private String cvEnable;

    /** CV周期 */
    @Excel(name = "CV周期")
    @ApiModelProperty(value = "CV周期")
    private String cvPeriod;

    /** CS使能 */
    @Excel(name = "CS使能")
    @ApiModelProperty(value = "CS使能")
    private String csEnable;

    /** CS周期 */
    @Excel(name = "CS周期")
    @ApiModelProperty(value = "CS周期")
    private String csPeriod;

    /** 1DM使能 */
    @Excel(name = "1DM使能")
    @ApiModelProperty(value = "1DM使能")
    private String dm1Enable;

    /** 1DM周期 */
    @Excel(name = "1DM周期")
    @ApiModelProperty(value = "1DM周期")
    private String dm1Period;

    /** 2DM使能 */
    @Excel(name = "2DM使能")
    @ApiModelProperty(value = "2DM使能")
    private String dm2Enable;

    /** 2DM周期 */
    @Excel(name = "2DM周期")
    @ApiModelProperty(value = "2DM周期")
    private String dm2Period;

    /** UNI槽位号 */
    @Excel(name = "UNI槽位号")
    @ApiModelProperty(value = "UNI槽位号")
    private String uniCell;

    /** UNI端口号 */
    @Excel(name = "UNI端口号")
    @ApiModelProperty(value = "UNI端口号")
    private String uniPort;

    /** SF告警检测方式 */
    @Excel(name = "SF告警检测方式")
    @ApiModelProperty(value = "SF告警检测方式")
    private String sfAlarmTest;

    /** SF告警产生门限 */
    @Excel(name = "SF告警产生门限")
    @ApiModelProperty(value = "SF告警产生门限")
    private String sfAlarmGenerate;

    /** SF告警恢复门限 */
    @Excel(name = "SF告警恢复门限")
    @ApiModelProperty(value = "SF告警恢复门限")
    private String sfAlarmRecover;

    /** SD告警检测方式 */
    @Excel(name = "SD告警检测方式")
    @ApiModelProperty(value = "SD告警检测方式")
    private String sdAlarmTest;

    /** SD告警产生门限 */
    @Excel(name = "SD告警产生门限")
    @ApiModelProperty(value = "SD告警产生门限")
    private String sdAlarmGenerate;

    /** SD告警恢复门限 */
    @Excel(name = "SD告警恢复门限")
    @ApiModelProperty(value = "SD告警恢复门限")
    private String sdAlarmRecove;

    /** 判决窗口时间(秒) */
    @Excel(name = "判决窗口时间(秒)")
    @ApiModelProperty(value = "判决窗口时间(秒)")
    private String judgeTime;

    /** 2DM配置 */
    @Excel(name = "2DM配置")
    @ApiModelProperty(value = "2DM配置")
    private String dm2Config;

    /** 是否为模版（Y:是 N:否） */
    @Excel(name = "是否为模版", readConverterExp = "Y=:是,N=:否")
    @ApiModelProperty(value = "是否为模版")
    private String templateFlag;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setProtectType(String protectType)
    {
        this.protectType = protectType;
    }

    public String getProtectType()
    {
        return protectType;
    }
    public void setMtnChannelId(String mtnChannelId)
    {
        this.mtnChannelId = mtnChannelId;
    }

    public String getMtnChannelId()
    {
        return mtnChannelId;
    }
    public void setElementId(String elementId)
    {
        this.elementId = elementId;
    }

    public String getElementId()
    {
        return elementId;
    }
    public void setNodeType(String nodeType)
    {
        this.nodeType = nodeType;
    }

    public String getNodeType()
    {
        return nodeType;
    }
    public void setBaseEnable(String baseEnable)
    {
        this.baseEnable = baseEnable;
    }

    public String getBaseEnable()
    {
        return baseEnable;
    }
    public void setBasePeriod(String basePeriod)
    {
        this.basePeriod = basePeriod;
    }

    public String getBasePeriod()
    {
        return basePeriod;
    }
    public void setAspEnable(String aspEnable)
    {
        this.aspEnable = aspEnable;
    }

    public String getAspEnable()
    {
        return aspEnable;
    }
    public void setCvsApi(String cvsApi)
    {
        this.cvsApi = cvsApi;
    }

    public String getCvsApi()
    {
        return cvsApi;
    }
    public void setCvdApi(String cvdApi)
    {
        this.cvdApi = cvdApi;
    }

    public String getCvdApi()
    {
        return cvdApi;
    }
    public void setCvEnable(String cvEnable)
    {
        this.cvEnable = cvEnable;
    }

    public String getCvEnable()
    {
        return cvEnable;
    }
    public void setCvPeriod(String cvPeriod)
    {
        this.cvPeriod = cvPeriod;
    }

    public String getCvPeriod()
    {
        return cvPeriod;
    }
    public void setCsEnable(String csEnable)
    {
        this.csEnable = csEnable;
    }

    public String getCsEnable()
    {
        return csEnable;
    }
    public void setCsPeriod(String csPeriod)
    {
        this.csPeriod = csPeriod;
    }

    public String getCsPeriod()
    {
        return csPeriod;
    }
    public void setDm1Enable(String dm1Enable)
    {
        this.dm1Enable = dm1Enable;
    }

    public String getDm1Enable()
    {
        return dm1Enable;
    }
    public void setDm1Period(String dm1Period)
    {
        this.dm1Period = dm1Period;
    }

    public String getDm1Period()
    {
        return dm1Period;
    }
    public void setDm2Enable(String dm2Enable)
    {
        this.dm2Enable = dm2Enable;
    }

    public String getDm2Enable()
    {
        return dm2Enable;
    }
    public void setDm2Period(String dm2Period)
    {
        this.dm2Period = dm2Period;
    }

    public String getDm2Period()
    {
        return dm2Period;
    }
    public void setUniCell(String uniCell)
    {
        this.uniCell = uniCell;
    }

    public String getUniCell()
    {
        return uniCell;
    }
    public void setUniPort(String uniPort)
    {
        this.uniPort = uniPort;
    }

    public String getUniPort()
    {
        return uniPort;
    }
    public void setSfAlarmTest(String sfAlarmTest)
    {
        this.sfAlarmTest = sfAlarmTest;
    }

    public String getSfAlarmTest()
    {
        return sfAlarmTest;
    }
    public void setSfAlarmGenerate(String sfAlarmGenerate)
    {
        this.sfAlarmGenerate = sfAlarmGenerate;
    }

    public String getSfAlarmGenerate()
    {
        return sfAlarmGenerate;
    }
    public void setSfAlarmRecover(String sfAlarmRecover)
    {
        this.sfAlarmRecover = sfAlarmRecover;
    }

    public String getSfAlarmRecover()
    {
        return sfAlarmRecover;
    }
    public void setSdAlarmTest(String sdAlarmTest)
    {
        this.sdAlarmTest = sdAlarmTest;
    }

    public String getSdAlarmTest()
    {
        return sdAlarmTest;
    }
    public void setSdAlarmGenerate(String sdAlarmGenerate)
    {
        this.sdAlarmGenerate = sdAlarmGenerate;
    }

    public String getSdAlarmGenerate()
    {
        return sdAlarmGenerate;
    }
    public void setSdAlarmRecove(String sdAlarmRecove)
    {
        this.sdAlarmRecove = sdAlarmRecove;
    }

    public String getSdAlarmRecove()
    {
        return sdAlarmRecove;
    }
    public void setJudgeTime(String judgeTime)
    {
        this.judgeTime = judgeTime;
    }

    public String getJudgeTime()
    {
        return judgeTime;
    }
    public void setDm2Config(String dm2Config)
    {
        this.dm2Config = dm2Config;
    }

    public String getDm2Config()
    {
        return dm2Config;
    }
    public void setTemplateFlag(String templateFlag)
    {
        this.templateFlag = templateFlag;
    }

    public String getTemplateFlag()
    {
        return templateFlag;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("protectType", getProtectType())
                .append("mtnChannelId", getMtnChannelId())
                .append("elementId", getElementId())
                .append("nodeType", getNodeType())
                .append("baseEnable", getBaseEnable())
                .append("basePeriod", getBasePeriod())
                .append("aspEnable", getAspEnable())
                .append("cvsApi", getCvsApi())
                .append("cvdApi", getCvdApi())
                .append("cvEnable", getCvEnable())
                .append("cvPeriod", getCvPeriod())
                .append("csEnable", getCsEnable())
                .append("csPeriod", getCsPeriod())
                .append("dm1Enable", getDm1Enable())
                .append("dm1Period", getDm1Period())
                .append("dm2Enable", getDm2Enable())
                .append("dm2Period", getDm2Period())
                .append("uniCell", getUniCell())
                .append("uniPort", getUniPort())
                .append("sfAlarmTest", getSfAlarmTest())
                .append("sfAlarmGenerate", getSfAlarmGenerate())
                .append("sfAlarmRecover", getSfAlarmRecover())
                .append("sdAlarmTest", getSdAlarmTest())
                .append("sdAlarmGenerate", getSdAlarmGenerate())
                .append("sdAlarmRecove", getSdAlarmRecove())
                .append("judgeTime", getJudgeTime())
                .append("dm2Config", getDm2Config())
                .append("templateFlag", getTemplateFlag())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
